package com.xdf.ecommerce.stream.customChannel;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * 自定义通信信道
 * @author chanchaw
 * @create 2025-11-06 15:40
 */
public interface MyChannel {
    String CHANNEL_NAME = "ccOutput";

    /**
     * 通信信道的名称是 ccOutput，注意需要对应绑定到 yml 中
     * @return
     */
    @Output(MyChannel.CHANNEL_NAME)
    MessageChannel ccOutput();
}
